package net.ojbk.timeSpace.test.web.handllers.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import net.ojbk.timeSpace.test.service.IBladeService;
import net.ojbk.timeSpace.test.service.IImgService;

@Controller
public class TextController {
	
	@Autowired
	@Qualifier("bladeService")
	private IBladeService bladeService;
	
	@Autowired	
	@Qualifier("imgService")
	private IImgService imgService;
	
	@RequestMapping("/getOneAxis.do")
	@ResponseBody
	public Object doGetOneAxis(String imgUUID) {
		
		return imgService.getImg("1001");
	}
}
